package com.zzr.zzrbackend.service;

import com.zzr.zzrbackend.pojo.dto.CommonResult;
import com.zzr.zzrbackend.pojo.dto.param.GroupNameParam;
import com.zzr.zzrbackend.pojo.dto.result.*;
import jakarta.servlet.http.HttpServletRequest;


public interface MessageService {
    CommonResult<MessageListResult> getMessageDetailList(HttpServletRequest request, Integer roomId);

    CommonResult<MessageNumListResult> getMessageListNumList(HttpServletRequest request);

    CommonResult<NoData> setMessageRead(HttpServletRequest request, Integer roomId, Integer type);

    CommonResult<RoomMemberListResult> getRoomMembers(HttpServletRequest request, Integer roomId, Integer type);

    CommonResult<UserSigResult> getUserSig(HttpServletRequest request);

    CommonResult<MessageGroupResultList> getMessageGroupDetailList(HttpServletRequest request, Integer roomId);

    CommonResult<NoData> setGroupName(HttpServletRequest request, GroupNameParam groupNameParam);

    CommonResult<GroupDetailResult> getGroup(HttpServletRequest request, Integer roomId);

    CommonResult<SingleListResult> getSingleList(HttpServletRequest request);

    CommonResult<RoomIdResult> setSingleChat(HttpServletRequest request, Integer toUserId);
}
